﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddOrDeleteRole.aspx.cs" Inherits="RolesManage_AddOrDeleteRole" %>--%>

<%@ Page Title="角色管理" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="AddOrDeleteRole.aspx.cs" Inherits="RolesManage_AddOrDeleteRole" %>
<%@ Register Assembly="ZedGraph.Web" Namespace="ZedGraph.Web" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headContent" Runat="Server">
      <link href="../CSS/allcommonstyle.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.min.css" rel="stylesheet" />
    <script src="../js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
     <style type="text/css" >
         .breadcrumbcss
       {
           width:1054px;
           margin:20px auto;
       }
         .pClass
        {
            text-align:left
         }
         .ml
        {
             margin:0,auto,0,auto;
         }
           .foodermargin
    {     
        margin:20px auto 0 auto;
     }
      

    </style>    

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
      <div class="breadcrumbcss">
      <ol class="breadcrumb ">           
            <li><a href="../MainHtml.aspx">首页</a></li>
            <li><a href="T0001996_CPKbyDT.aspx">QC检验</a></li>	
		     <li><a href="T0001996_SummaryReport.aspx" class="active">角色管理</a></li>
        </ol>
        </div>
         <h4 class="headtitle">角色管理</h4>
   
    <div style="text-align:center;margin:30px auto 10px auto;width:453px;">
       <asp:GridView ID="GridView1" runat="server" EnableModelValidation="True"  HorizontalAlign="Center" Width="448px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Height="302px">
        <Columns>
            <asp:TemplateField HeaderText="删除角色" ShowHeader="False">
                <ItemTemplate>
                    <asp:Button ID="btnDel" runat="server"  class="btn btn-success btn-flat  btn-sm"  CausesValidation="False" CommandName="Select" Text="删  除" OnClientClick="return confirm('确定删除吗？');"/>
                </ItemTemplate>
               <%-- <ControlStyle CssClass="bluebuttoncss controlStyleLengh" />--%>
            </asp:TemplateField>
        </Columns>
              </asp:GridView>
    </div>

    <div id="form1"  class="form-horizontal border-radius">
          
            <div style="margin:30px auto;width:600px">                       
                <div class="form-group mb" >
                 <label  class="col-sm-2 control-label" style="width:200px"> 输入您要添加的角色名称：</label>                
                     <asp:TextBox ID="RoleID" runat="server" Width="205px" ></asp:TextBox>
                   &nbsp;   <asp:Button ID="Add" runat="server" Text="添 加"  
                Width="65px"   CssClass="btn btn-primary btn-flat" height="30px" OnClick="Add_Click"/>
           &nbsp;<asp:Button ID="Return" runat="server" Text="返回上一级" Width="101px" height="30px"  CssClass="btn btn-primary btn-flat" />

               </div>
                              
           </div>
    </div>
 </asp:Content>

